package com.zc.controller.zjb;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ZjbDao {
    List<Student> queryAll();

    void add(@Param("stu") Student student);

    void update(@Param("stu") Student student);

    void delete(@Param("id") Integer id);
}
